package com.wl.cloud.system.support.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author: wanglin
 * @date: 2023-09-22 周五
 * @Version: 1.0
 * @Description:
 */
@Schema(description = "分配菜单权限")
@Data
public class SysMenuDistributeDTO {
    @NotBlank(message = "角色id不能为空")
    @Schema(description = "角色id")
    private String roleId;
    @NotEmpty(message = "菜单id不能为空")
    @Schema(description = "菜单id")
    private List<String> menuIds;
}
